<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class SensapilityClients</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class SensapilityClients</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">version:</span> 0.1</li>
				<li><span class="field">author:</span> api.jmatt@gmail.com</li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_sensapilityclients.php.html">/sensapilityclients.php</a> (line <span class="field">33</span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>




	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
												<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																				
												<div class="method-definition">
											<span class="method-result">mixed</span>
										<a href="#SensapilityClients" title="details" class="method-name">SensapilityClients</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$serverAddress</span> = <span class="var-default">'https://www.google.com/api/adsense/v2/'</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#getServerAddress" title="details" class="method-name">getServerAddress</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../default/SensapilityService.html">SensapilityService</a></span>
										<a href="#getService" title="details" class="method-name">getService</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$serviceName</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">none</span>
										<a href="#setHeaders" title="details" class="method-name">setHeaders</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$serviceName</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$header</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">none</span>
										<a href="#setServerAddress" title="details" class="method-name">setServerAddress</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$serverAddr</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">none</span>
										<a href="#_buildSOAPClient" title="details" class="method-name">_buildSOAPClient</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$serviceName</span>)
									</div>
								</div>
		</div>
	</div>		

	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>

<a name="methodSensapilityClients" id="SensapilityClients"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">Constructor SensapilityClients</span> (line <span class="line-number">75</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Constructor for this class, creates</p>
	<ul class="tags">
				<li><span class="field">return:</span> a new SensapilityClients object</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">mixed</span>
		<span class="method-name">
			SensapilityClients
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$serverAddress</span> = <span class="var-default">'https://www.google.com/api/adsense/v2/'</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$serverAddress</span><span class="var-description">: the address where the AdSense API  service is</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetServerAddress" id="getServerAddress"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getServerAddress</span> (line <span class="line-number">221</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Gets the current address where services are accessed</p>
	<ul class="tags">
				<li><span class="field">return:</span> the current address we're using for services</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			getServerAddress
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetService" id="getService"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getService</span> (line <span class="line-number">125</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the SensAPIlity wrapper object for the requested service.</p>
	<ul class="tags">
				<li><span class="field">return:</span> the object wrapper for the requested service</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../default/SensapilityService.html">SensapilityService</a></span>
		<span class="method-name">
			getService
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$serviceName</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$serviceName</span><span class="var-description">: the name of the service to requested</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetHeaders" id="setHeaders"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">setHeaders</span> (line <span class="line-number">111</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets headers for the requested service</p>
	
	<div class="method-signature">
		<span class="method-result">none</span>
		<span class="method-name">
			setHeaders
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$serviceName</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$header</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$serviceName</span><span class="var-description">: the name of the service to set headers for</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$header</span><span class="var-description">: the XML string value for the header</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetServerAddress" id="setServerAddress"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">setServerAddress</span> (line <span class="line-number">213</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Changes the address where services are accessed</p>
	
	<div class="method-signature">
		<span class="method-result">none</span>
		<span class="method-name">
			setServerAddress
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$serverAddr</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$serverAddr</span><span class="var-description">: the address where the services are located</span>			</li>
				</ul>
		
			
	</div>
<a name="method_buildSOAPClient" id="_buildSOAPClient"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">_buildSOAPClient</span> (line <span class="line-number">145</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Constructs the underlying soapclientnusoap object for this service</p>
	
	<div class="method-signature">
		<span class="method-result">none</span>
		<span class="method-name">
			_buildSOAPClient
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$serviceName</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$serviceName</span><span class="var-description">: name of the service to build the wrapper  object for</span>			</li>
				</ul>
		
			
	</div>
						
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated on Fri, 25 May 2007 13:35:29 -0700 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.3.1</a>
	</p>
	</div></body>
</html>